import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/global.css'
import './assets/ali-icon/iconfont.css'

import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:8092/'
Vue.prototype.$http = axios
Vue.config.productionTip = false

Vue.use(VueQuillEditor)

Vue.config.productionTip = false

/* 定义过滤器 */
Vue.filter('priceFormat', function (price) {
  return (price / 100).toFixed(2)
})

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
